spend time goofing off

Translations
тратить время на безделье
Instead of studying, he spent the whole weekend goofing off.
Вместо того чтобы учиться, он провел все выходные в безделье.
Definitions
To waste time or avoid doing work by engaging in playful, silly, or unproductive activities.